package mainFiles;

/**
 * Represents an instructor object.
 * @author Emily Linniman
 * @version November 30, 2014
 *
 */
public class Instructor {

	/** The user id of the instructor. */
	private String userID;
	
	/** The id of the instructor's manager. */
	private String managerID;
	
	/** The number of hours the instructor has taught classes. */
	private int hoursInstructed;
	
	/**
	 * Constructs a new user object.
	 * 
	 * @param userID the user id to set the instructor's user id to
	 * @param hoursInstructed the number of hours the instructor has taught
	 * @param managerID the id of the manager of the instructor being created
	 */
	public Instructor(String userID, int hoursInstructed, String managerID) {
		setID(userID);
		setManagerID(managerID);
		setHours(hoursInstructed);
	}
	
	/**
	 * Sets the user id of the instructor object
	 * @param userID the id to set the user id of the instructor object to
	 */
	public void setID(String userID) {
		this.userID = userID;
	}
	
	/**
	 * Gets the user id of the instructor object
	 * @return the user id of the instructor object
	 */
	public String getID() {
		return userID;
	}
	
	/**
	 * Sets the id of the manager of the instructor object
	 * @param managerID the id of the manager to set the managerID of the instructor object to
	 */
	public void setManagerID(String managerID) {
		this.managerID = managerID;
	}
	
	/**
	 * Gets the manager id of the instructor object
	 * @return the manager id of the instructor object
	 */
	public String getManagerID() {
		return managerID;
	}
	
	/**
	 * Sets the number of hours the instructor has taught
	 * @param hoursInstructed the number of hours to set the hoursInstructed field in the instructor to
	 */
	public void setHours(int hoursInstructed) {
		this.hoursInstructed = hoursInstructed;
	}
	
	/**
	 * Gets the number of hours the instructor has taught
	 * @return the number of hours the instructor has taught
	 */
	public int getHours() {
		return hoursInstructed;
	}
}
